package com.example.springboot.pojo;

import java.io.Serializable;
import java.util.Date;

public class WorkOrder implements Serializable {
    private int id;
    private String name;
    private String state;
    private int workshop_id;
    private int equipment_id;
    private Date start_time;
    private int task_num;
    private int task_time;

    @Override
    public String toString() {
        return "WorkOrder{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", state='" + state + '\'' +
                ", workshop_id=" + workshop_id +
                ", equipment_id=" + equipment_id +
                ", start_time=" + start_time +
                ", task_num=" + task_num +
                ", task_time=" + task_time +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getWorkshop_id() {
        return workshop_id;
    }

    public void setWorkshop_id(int workshop_id) {
        this.workshop_id = workshop_id;
    }

    public int getEquipment_id() {
        return equipment_id;
    }

    public void setEquipment_id(int equipment_id) {
        this.equipment_id = equipment_id;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public int getTask_num() {
        return task_num;
    }

    public void setTask_num(int task_num) {
        this.task_num = task_num;
    }

    public int getTask_time() {
        return task_time;
    }

    public void setTask_time(int task_time) {
        this.task_time = task_time;
    }
}
